package com.rpay.web.param;

import org.hibernate.validator.constraints.NotBlank;

public class PostFeedback {
    @NotBlank(message = "反馈标题不能为空")
    private String feedbackTitle;
    @NotBlank(message = "反馈描述不能为空")
    private String feedbackDesc;
    @NotBlank(message = "反馈联系人不能为空")
    private String username;
    @NotBlank(message = "反馈联系人电话不能为空")
    private String phone;
    @NotBlank(message = "反馈联系人邮箱不能为空")
    private String email;

    public String getFeedbackTitle() {
        return feedbackTitle;
    }

    public void setFeedbackTitle(String feedbackTitle) {
        this.feedbackTitle = feedbackTitle;
    }

    public String getFeedbackDesc() {
        return feedbackDesc;
    }

    public void setFeedbackDesc(String feedbackDesc) {
        this.feedbackDesc = feedbackDesc;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @NotBlank(message = "反馈联系人地址不能为空")
    private String address;
}
